package com.platform.core.entity;

import com.platform.comm.entity.BaseEntity;
import com.platform.comm.enums.YnEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 功能描述:
 *
 * @author coder
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "ncloud_sys_dict_item")
public class SysDictItem extends BaseEntity {


    private static final long serialVersionUID = -5617115157346066765L;
    /**
     * 代码
     */
    @Column(name = "item_code", length = 50)
    private String itemCode;

    /**
     * 名称
     */
    @Column(name = "item_name", length = 128)
    private String itemName;

    /**
     * 所属字典
     */
    @Column(name = "group_id", length = 36)
    private String groupId;

    /**
     * 排序编号
     */
    @Column(name = "sort_num")
    private Integer sortNum;

    /**
     * 信息状态
     */
    @Column(name = "delflag")
    private YnEnum delFlag;
}
